package com.xinqi.modules.sys.gpt.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @Author：yyzhen
 * @Package：com.xinqi.modules.sys.gpt.dto.req
 * @Project：com.xinqi.-Cloud-Plus
 * @name：Messages
 * @Date：2023/6/13 9:57
 * @Filename：Messages
 */
@Data
public class Messages {

    @Schema(description = "角色")
    private String role;

    @Schema(description = "内容")
    private String content;

    @Schema(description = "问题")
    private String name;

    private String token;


    public Messages() {

    }

    public Messages(String role, String content) {
        this.role = role;
        this.content = content;
    }
}
